// see http://vuejs-templates.github.io/webpack for documentation.
var path = require("path");
require("../API/config.js");
var proxyTable = require('./proxy');
module.exports = {
    build: {
        env: require("./prod.env"),
        index: path.resolve(__dirname, "../dist/index.html"),
        assetsRoot: path.resolve(__dirname, "../dist"),
        assetsSubDirectory: "static",
        assetsPublicPath: "/",
        productionGzip: true,
        productionGzipExtensions: ["js", "css"]
    },
    // dev环境
    dev: {
        env: require("./dev.env"),
        port: 5025,
        assetsSubDirectory: "static",
        assetsPublicPath: "/",
        proxyTable,
        cssSourceMap: false
    }
};